// COLORS
$main-bg-color: #ECECEC;
$text-color: #7A7A7A;
$accent-color: rgb(0, 150, 136);
$warning-color: #E75753;


// VARIABLES
$left-sidenav-width: 110px;
$widget-height: 310px;
$font-weight-bold: 600;
$font-size-large: 22px;


// LAYOUT
body {
  color: $text-color;
}

.toolbar-button {
  min-width: 20px;
}

.share-label {
  vert-align: middle;
  margin-left: 10px;
}

.page-content {
  background-color: $main-bg-color;
}

.widget-progress {
  width: 95% !important;
  margin-left: 10px;
}


// UTILS
.capitalize {
  text-transform: capitalize;
}

.img-circle {
  height: 50px;
  border-radius: 50%;
  margin: 0 10px;
}


// COMPONENTS
.messages {
  position: relative;

  &-content {
    height: 100vh;
  }
}

.notifications-label {
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  font-size: 12px;
  top: 2px;
  right: 2px;
  background-color: $warning-color;
}

// panel-widget
.panel-widget {
  background-color: white;

  &-toolbar {
    box-shadow: none;
    margin: 0;
  }

  &-tittle {
    color: $text-color;
  }
}

.options {
  -webkit-transition:all linear 0.5s;
  transition:all linear 0.5s;
}

.options.ng-hide {
  opacity:0;
}

.fixed-height-widget {
  height: $widget-height;
}

// charts
.donut-chart-title{
  text-align: center;
}

.custom-tooltip {
  font-size: $font-size-large;
  color: $text-color;
  text-align: center;
}


// OVERRIDES
// angular material overrides
md-radio-group {
  border: none;
}

md-icon {
  height: auto;
}

md-sidenav.md-locked-open.md-sidenav-left {
  width: $left-sidenav-width;
  min-width: $left-sidenav-width;
  max-width: $left-sidenav-width;
}

a.md-button.md-warn.md-raised, a.md-button.md-warn.md-fab, .md-button.md-warn.md-raised, .md-button.md-warn.md-fab {
  color: white;
}

md-radio-button.md-accent.md-checked .md-label span {
  color: $accent-color;
}

.md-toolbar-tools h1 {
  font-size: $font-size-large;
}


md-backdrop.md-sidenav-backdrop {
  position: fixed;
}

// libs overrides
.material-icons {
  vertical-align: middle;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.nvd3.nv-pie .nv-pie-title {
  fill: rgb(68, 68, 68);
  font-weight: $font-weight-bold;
  font-size: $font-size-large !important;
}

.nvtooltip {
  background-color: transparent;
  border: none;
  font-weight: $font-weight-bold;
}

.orange .md-bar2 {
  background-color: orange;
}

.orange .md-container {
  background-color: rgb(255, 236, 201)
}

md-toolbar.search {
	margin-bottom: 10px;
}

md-input-container {
  display: inline-block;
  position: relative;
  padding-top: 2px;
  padding-bottom: 0px;
  padding-left: 2px;
  padding-right: 2px;
  margin: 15px 0;
  vertical-align: middle;
  font-size:17px;
}
md-input-container:not(.md-input-invalid).md-input-has-value label {
  	color: rgb(231, 87, 83);
}
md-input-container .md-errors-spacer{
 min-height: 0px !important;
}
.bottom-sheet {
	position: fixed;	
}
.edit-dialog {
	width: 700px;
	max-height: 90%;
	md-content {
		min-height: 300px;
	}
	.edit-form {
		width: 600px;
	}
}
.alert-dialog {
	width: 500px;
}
.dialog-icon {
	margin-top: 20px;
	font-size: 96px;
	color: #f8ac59;
}

.md-toast-error .md-toast-content {
	background-color: rgb(231,87,83) !important;
}
.center-content {
	margin-top: 150px;
}

/* folat PLUGIN */
.folat{
	position:fixed;
	top:0px;
	left:0px;
	right:0px;
	bottom:0px;
	z-index:9999;
	background: rgba(0, 0, 0, 0.1);
	padding-top:20%; 
	text-align:center;
}

.sk-spinner-wave {
	margin: 0 auto;
	width: 60px;
	height: 50px;
	text-align: center;
	font-size: 10px;
	div {
	  background-color: rgb(158,158,158);
	  height: 100%;
	  width: 6px;
	  margin-left: 5px;
	  display: inline-block;
	  -webkit-animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
	  animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
	}
	.sk-rect2 {
	  -webkit-animation-delay: -1.1s;
	  animation-delay: -1.1s;
	}
	.sk-rect3 {
	  -webkit-animation-delay: -1s;
	  animation-delay: -1s;
	}
	.sk-rect4 {
	  -webkit-animation-delay: -0.9s;
	  animation-delay: -0.9s;
	}
	.sk-rect5 {
	  -webkit-animation-delay: -0.8s;
	  animation-delay: -0.8s;
	}
}
@-webkit-keyframes sk-waveStretchDelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
@keyframes sk-waveStretchDelay {
  0%,
  40%,
  100% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  20% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
